<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib  prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'user.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <s:form action="user/register">
    	<s:textfield name="type" label="用户名"></s:textfield>
    	<s:textfield name="loginId" label="登录帐号"></s:textfield>
    	<s:textfield name="city" label="城市"></s:textfield>
    	<s:textfield name="username" label="用户名"></s:textfield>
    	<s:textfield name="sex" label="性别"></s:textfield>
    	<s:textfield name="email" label="电子邮件"></s:textfield>
    	<s:textfield name="telephone" label="电话号码"></s:textfield>
    	<s:textfield name="certificatetype" label="证件类型"></s:textfield>
    	<s:textfield name="certificatenum" label="证件号"></s:textfield>
    	<s:password name="password" label="密码"></s:password>
    	<s:submit value="提交"></s:submit>
    </s:form>
  </body>
</html>
